The following formula describes the approximate amount of memory used by GeoExpress to compress a single image to the MrSID Generation 4 (MG4) or MrSID Generation 3 (MG3) format:
Memory = ((8 + 4 * BlockSize + MIN(StripHeight, BlockSize)) * 4 + StripHeight) * NumBands * Width
The following list describes the variables used by the formula:
Memory
is the estimated memory usage in bytes.BlockSize
is set by the user with the -blocksize/-bs
switch (See Advanced Encoding Options.)
MIN(StripHeight, BlockSize)
evaluates the values for the strip height and block size and equals whichever value is smaller.StripHeight
is set by user with the -stripheight/-sh
switch (See Advanced Encoding Options and JPEG 2000 Encoding.)
NumBands
is the number of bands in the image to be encoded – typically 1 or 3 (This value is noted in the Properties tab.)
Width
is the width of the input image in pixels. (This value is noted in the Properties tab.)